<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
  <database name="default" defaultIdMethod="none">
    <table name="AD_SYSTEM">
      <column name="AD_SYSTEM_ID" primaryKey="true" required="true" type="ID" size="10" autoIncrement="false"/>
      <column name="AD_CLIENT_ID" primaryKey="true" required="true" type="ID" size="10" autoIncrement="false"/>
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
      <column name="CREATEDBY" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
      <column name="UPDATEDBY" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
      <column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="USERNAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="INFO" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
      <column name="VERSION" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
      <column name="RELEASENO" primaryKey="false" required="true" type="CHAR" size="4" autoIncrement="false"/>
      <column name="SUPPORTUNITS" primaryKey="false" required="false" type="DECIMAL" size="10" autoIncrement="false"/>
      <column name="PASSWORD" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
      <column name="REPLICATIONTYPE" primaryKey="false" required="true" type="CHAR" size="1" default="L" autoIncrement="false"/>
      <column name="IDRANGESTART" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
      <column name="IDRANGEEND" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
      <column name="LDAPHOST" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="CUSTOMPREFIX" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="ISJUSTMIGRATED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
      <column name="DBINSTANCE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="DBADDRESS" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
      <column name="NOPROCESSORS" primaryKey="false" required="false" type="DECIMAL" size="10" autoIncrement="false"/>
      <column name="SUMMARY" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
      <column name="ENCRYPTIONKEY" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
      <column name="LDAPDOMAIN" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
      <column name="ISAUTOERRORREPORT" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
      <column name="RECORD_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
      <column name="SUPPORTEXPDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
      <column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
      <column name="SUPPORTEMAIL" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="ISALLOWSTATISTICS" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
      <column name="STATISTICSINFO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="PROFILEINFO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="OLDNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
      <column name="SYSTEMSTATUS" primaryKey="false" required="true" type="CHAR" size="1" default="E" autoIncrement="false"/>
      <check>
        <rule><![CDATA[IsActive in ('Y','N')]]></rule>
      </check>
    </table>
  </database>
